package com.industrial.app.mapper;


import com.industrial.app.domain.BizIndustrialElectricityConsumption;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工业用电量临时(新)Mapper接口
 *
 * @author SangGuangCan
 * @date 2024-01-22
 */
public interface BizIndustrialElectricityConsumptionMapper
{
    /**
     * 查询工业用电量临时(新)
     *
     * @param baseId 工业用电量临时(新)主键
     * @return 工业用电量临时(新)
     */
    public BizIndustrialElectricityConsumption selectBizIndustrialElectricityConsumptionByBaseId(String baseId);

    /**
     * 查询工业用电量临时(新)列表
     *
     * @param bizIndustrialElectricityConsumption 工业用电量临时(新)
     * @return 工业用电量临时(新)集合
     */
    public List<BizIndustrialElectricityConsumption> selectBizIndustrialElectricityConsumptionList(BizIndustrialElectricityConsumption bizIndustrialElectricityConsumption);

    /**
     * 新增工业用电量临时(新)
     *
     * @param bizIndustrialElectricityConsumption 工业用电量临时(新)
     * @return 结果
     */
    public int insertBizIndustrialElectricityConsumption(BizIndustrialElectricityConsumption bizIndustrialElectricityConsumption);

    /**
     * 修改工业用电量临时(新)
     *
     * @param bizIndustrialElectricityConsumption 工业用电量临时(新)
     * @return 结果
     */
    public int updateBizIndustrialElectricityConsumption(BizIndustrialElectricityConsumption bizIndustrialElectricityConsumption);

    /**
     * 删除工业用电量临时(新)
     *
     * @param baseId 工业用电量临时(新)主键
     * @return 结果
     */
    public int deleteBizIndustrialElectricityConsumptionByBaseId(String baseId);

    /**
     * 批量删除工业用电量临时(新)
     *
     * @param baseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBizIndustrialElectricityConsumptionByBaseIds(String[] baseIds);

    void batchInsertBizIndustrialElectricityConsumption(@Param("list") List<BizIndustrialElectricityConsumption> list);

    @Delete("DELETE FROM biz_industrial_electricity_consumption")
    void clearAllTableData();

    List<BizIndustrialElectricityConsumption> selectBizIndustrialElectricityConsumptionAllData();


}
